import wepy from 'wepy';


export default class isBind extends wepy.mixin {

  data = {
    isBind: false,
    cellphone: '-',
    customerId: ''
  };
  async onLoad() {
    this.customerId = this.$parent.globalData.customerId;
    let {
      cellphone
    } = await this.$parent.init();
    this.isBind = cellphone ? true : false;
    this.cellphone = cellphone;
    this.$apply();
  }
}
